package com.system.service;

import java.util.List;
import org.apache.log4j.Logger;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import com.system.mapper.T_bzMapper;
import com.system.domain.T_bz;

@Service("t_bzService")
@Transactional
public class T_bzService{
	private static Logger log = Logger.getLogger(T_bzService.class.getName());

	@Resource
    private T_bzMapper t_bzMapper;


	public int save(T_bz obj){
		 return t_bzMapper.save(obj);
	}

	public int update(T_bz obj){
		return t_bzMapper.update(obj);
	}

	public int delete(T_bz obj){
		return t_bzMapper.delete(obj);
	}

	public T_bz findById(T_bz obj){
		return t_bzMapper.findById(obj);
	}

	public List findAll(T_bz obj){
		 return t_bzMapper.findAll(obj);
	}

	public int findCountAll(T_bz obj){
		 return t_bzMapper.findCountAll(obj);
	}
}
